package com.tgpms.web.element.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * <p>
 * 质量争议问题
 * </p>
 *
 * @author jl
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WS_QUALITY_DISPUTE")
@ApiModel(value="WsQualityDispute对象", description="质量争议问题")
public class WsQualityDispute implements Serializable {

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID" , type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "记录人")
    @TableField(value = "RECORD_USER")
    private String recordUser;

    @ApiModelProperty(value = "记录单位")
    @TableField(value = "RECORD_COMPANY")
    private String recordCompany;

    @ApiModelProperty(value = "记录时间")
    @TableField(value = "RECORD_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date recordDate;

    @ApiModelProperty(value = "问题提出单位")
    @TableField(value = "PUT_ISSUE_COMPANY")
    private String putIssueCompany;

    @ApiModelProperty(value = "问题提出人")
    @TableField(value = "PUT_ISSUE_USER")
    private String putIssueUser;

    @ApiModelProperty(value = "联系电话")
    @TableField(value = "PHONE")
    private String phone;

    @ApiModelProperty(value = "设备厂家")
    @TableField(value = "EQUIPMENT_COMPANY")
    private String equipmentCompany;

    @ApiModelProperty(value = "合同编号")
    @TableField(value = "PO_NO")
    private String poNo;

    @ApiModelProperty(value = "拟使用单位")
    @TableField(value = "PRE_USE_UNIT")
    private String preUseUnit;

    @ApiModelProperty(value = "是否使用")
    @TableField(value = "IF_USE")
    private String ifUse;

    @ApiModelProperty(value = "使用具体部位")
    @TableField(value = "USE_DEPT")
    private String useDept;

    @ApiModelProperty(value = "问题描述")
    @TableField(value = "ISSUE")
    private String issue;

    @ApiModelProperty(value = "处理过程")
    @TableField(value = "HANDLE_PROCESS")
    private String handleProcess;

    @ApiModelProperty(value = "处理结果")
    @TableField(value = "HANDLE_RESULT")
    private String handleResult;

    @ApiModelProperty(value = "插入人")
    @TableField(value = "INSERT_USER")
    private String insertUser;

    @ApiModelProperty(value = "插入时间")
    @TableField(value = "INSERT_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date insertDate;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "MODIFY_USER")
    private String modifyUser;

    @ApiModelProperty(value = "最近修改时间")
    @TableField(value = "MODIFY_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;

    @ApiModelProperty(value = "数据拥有者")
    @TableField(value = "DATA_OWNER")
    private String dataOwner;

    @ApiModelProperty(value = "同业务主键")
    @TableField(value = "ROWSTAMP")
    private String rowstamp;


}